﻿// =================================================================== 
// 项目说明
//====================================================================
// lsc @Copy Right 2019
// 文件： GovSystemSettingEntity.cs
// 项目名称：斑马车务
// 创建时间：2019-01-09
// 负责人：lsc
// ===================================================================

using System;
using Dapper.Extensions;

namespace CGT.Infrastructure.Entity
{
	/// <summary>
	///系统配置数据实体  
	/// </summary>
    [PrimaryKey("SettingID")]
	public class GovSystemSetting
	{
		///<summary>
		///系统配置
		///</summary>
		public GovSystemSetting()
		{
		}	
    
		
		///<summary>
		///ID
		///</summary>
        [Column("SettingID","ID")]
        public int SettingID { get; set; }

		///<summary>
		///IP锁定(终端锁定)阀值
		///</summary>
        [Column("IPLockThreshold","IP锁定(终端锁定)阀值")]
        public int IPLockThreshold { get; set; }

		///<summary>
		///用户锁定阀值
		///</summary>
        [Column("UserLockThreshold","用户锁定阀值")]
        public int UserLockThreshold { get; set; }

		///<summary>
		///登录超时间（单位：分钟）
		///</summary>
        [Column("LoginExpire","登录超时间（单位：分钟）")]
        public int LoginExpire { get; set; }

		///<summary>
		///用户最大会话数限制
		///</summary>
        [Column("UserSessionMax","用户最大会话数限制")]
        public int UserSessionMax { get; set; }

		///<summary>
		///高频登录每小时次数限制
		///</summary>
        [Column("UserLoginTimesMax","高频登录每小时次数限制")]
        public int UserLoginTimesMax { get; set; }

		///<summary>
		///用户长时间未登录限制（单位：天）
		///</summary>
        [Column("UserUnuseTimeMax","用户长时间未登录限制（单位：天）")]
        public int UserUnuseTimeMax { get; set; }

		///<summary>
		///登录日志存储期限(天)
		///</summary>
        [Column("LogingSaveDays","登录日志存储期限(天)")]
        public int LogingSaveDays { get; set; }

		///<summary>
		///操作日志存储期限(天)
		///</summary>
        [Column("OperateSaveDays","操作日志存储期限(天)")]
        public int OperateSaveDays { get; set; }

		///<summary>
		///安全日志存储期限(天)
		///</summary>
        [Column("SafeSaveDays","安全日志存储期限(天)")]
        public int SafeSaveDays { get; set; }

		///<summary>
		///接口日志存储期限(天)
		///</summary>
        [Column("InterfaceSaveDays","接口日志存储期限(天)")]
        public int InterfaceSaveDays { get; set; }

	}
}